#ifndef ENDGAME_H
#define ENDGAME_H

#include <QLabel>
#include <QLineEdit>

#include "games/basegame.h"

// Provide end game with lineedit for name
class EndGame : public BaseGame
{
    Q_OBJECT
public:
    // Constructor
    explicit EndGame(QWidget *parent = 0, int difflvl = 1);

    // Members
    bool isSolved() { return true; }
    QString hint() { return "Useless."; }

    // Special member for name
    QString name() { return name_lineedit->text(); }
private:
    QLineEdit * name_lineedit;

};

#endif // STARTGAME_H
